{macro:rain_frame}

	(L.S.Timegap) (L.L.PrecipRate) * s0

	(L.L.Rain_Window_Front_Wetness) l0
	+ 1 min 0 max
	(S.L.Rain_Window_Front_Wetness)

	(L.L.Rain_Window_Norm_Wetness) l0
	+ 1 min 0 max
	(S.L.Rain_Window_Norm_Wetness)

	(L.L.Rain_Window_Wiped_Wetness) l0
	+ 1 min 0 max
	(S.L.Rain_Window_Wiped_Wetness)
	
	(L.L.rain_timer) (L.S.timegap) 100 / + (S.L.rain_timer) s0
	l0 l0 trunc - 2 / 0 max 2 min /-/ (S.L.rain_trans)	
	
	(L.L.rain_timer2) (L.S.timegap) 5 / + (S.L.rain_timer2) s0
	l0 l0 trunc - 2 / 0 max 0.5 min /-/ (S.L.rain_trans2)

{end}